package dao;

import pojo.UserDO;

public interface UserDAO {
    //根据用户名和密码返回用户
    UserDO getByUsernameAndPwd(String username, String pwd);

    UserDO getById(int id);

    UserDO getByName(String name);

    void update(UserDO userDo);



}
